Payment Request API
This article is a stub. You can help the IndieWeb wiki by expanding it.
Payment Request API is a W3C specification for collecting payment information (credit card, billing address, etc) by the browser, to help streamline the payment process on a web page.
IndieWeb Examples
Aaron Parecki
Aaron Parecki added support for the Payment Request API to his website during IndieWebCamp Austin 2017 using the Stripe integration.
Documentation
Various browsers and payment handlers that support Payment Request API all have their own documentation:
Browsers: https://caniuse.com/payment-request
- Google Chrome: https://developers.google.com/web/fundamentals/payments/
- Microsoft Edge: 2017-05-24: Payment Request API
- MSDN: Payment Request API samples
- blog post: 2016-12-15: Simpler web payments: Introducing the Payment Request API
- Firefox status: https://platform-status.mozilla.org/#payment-request
(need screenshots of the UI flow on browsers that supposedly support this, e.g.)
- (screenshot initial setup, is user prompted to enter a cc? or do they have to set it up in prefs before attempting to pay via Request Payment support?)
- (screenshot of request payment provider picker / confirmation)
- etc.
Providers: